<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style22 {
	font-size: 24px;
	color: #FFFFFF;
}
.style23 {font-size: 14px; font-weight: bold; color: #FFFFFF; }
.style28 {color: #FFFFFF; font-style: italic; font-size: 14px;}
.style30 {color: #FFFFFF}
-->
</style>
</head>

<body>
<table width="561" height="520" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#999999"><p align="center"><span class="style22">Buat Akun Baru</span></p>
      <p align="left"><?php
      
	  include'config.php';
	  $query = "select * from tb where usename='".$_GET['usename']."'";
	  $result = mysql_query($query);
	  while($row=mysql_fetch_array($result)){
	  
	  ?>&nbsp;</p>
  <form action="usename=<?php  echo $row['usename'] ?>" method="post" enctype="multipart/form-data" name="form1" id="form1">
          <table width="0" border="0" align="center" cellpadding="2" cellspacing="2">
            <tr>
              <td><span class="style23">User Name</span></td>
              <td><span class="style30">:</span></td>
              <td><label>
                <input name="usename" type="text" id="usename" value="<?php echo $row ['usename'] ?>" size="15" />
              </label></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="style23">Nama Lengkap</span></td>
              <td><span class="style30">:</span></td>
              <td><label>
                <input name="namlengkap" type="text" id="namlengkap" value="<?php echo $row ['namlengkap'] ?>" size="25" />
              </label></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="style23">E-mail</span></td>
              <td><span class="style30">:</span></td>
              <td><label>
                <input name="e-mail" type="text" id="e-mail" value="<?php echo $row ['pass'] ?>" />
              </label></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="style23">Password</span></td>
              <td><span class="style30">:</span></td>
              <td><label>
                <input type="text" name="password" id="password" />
              </label></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="style23">Jenis Kelamin (JK) Ortu</span></td>
              <td><span class="style30">:</span></td>
              <td><label>
              <input type="text" name="jk" id="jk" />
              </label></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="style23">Nama Anak</span></td>
              <td><span class="style30">:</span></td>
              <td><input type="text" name="nama_anak" id="nama_anak" /></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="style23">JK Anak</span></td>
              <td><span class="style30">:</span></td>
              <td><input type="text" name="jk.anak" id="jk.anak" /></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td><span class="style30"></span></td>
              <td class="style28">Kota</td>
              <td class="style28">Format:(dd/mm/yyyy)</td>
            </tr>
            <tr>
              <td><span class="style23">TTL Anak</span></td>
              <td><span class="style30">:</span></td>
              <td><input name="kota" type="text" id="kota" size="25" /></td>
              <td><input name="textfield4" type="text" id="textfield4" size="25" /></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td><input type="submit" name="button" id="button" value="Anda Setuju ?" /></td>
              <td>&nbsp;</td>
            </tr>
          </table>
          <p>&nbsp;</p>
  </form>
        <?php
      
	  }
	  
	  ?></td>
  </tr>
</table>
</body>
</html>
